package com.ourteam.system.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:20
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class SysUser implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private String remarks;

    /**
     * Attribute remarks Be Seted Falg
     */
    private boolean remarksSetted = false;

    /**
    * Attribute remarks is Null Falg
    */
    private boolean remarksNull = false;
    private String status;

    /**
     * Attribute status Be Seted Falg
     */
    private boolean statusSetted = false;

    /**
    * Attribute status is Null Falg
    */
    private boolean statusNull = false;
    private String userAccount;

    /**
     * Attribute userAccount Be Seted Falg
     */
    private boolean userAccountSetted = false;

    /**
    * Attribute userAccount is Null Falg
    */
    private boolean userAccountNull = false;
    private String userName;

    /**
     * Attribute userName Be Seted Falg
     */
    private boolean userNameSetted = false;

    /**
    * Attribute userName is Null Falg
    */
    private boolean userNameNull = false;
    private String userType;

    /**
     * Attribute userType Be Seted Falg
     */
    private boolean userTypeSetted = false;

    /**
    * Attribute userType is Null Falg
    */
    private boolean userTypeNull = false;
    private String password;

    /**
     * Attribute password Be Seted Falg
     */
    private boolean passwordSetted = false;

    /**
    * Attribute password is Null Falg
    */
    private boolean passwordNull = false;
    private java.util.Date lastLoginTime;

    /**
     * Attribute lastLoginTime Be Seted Falg
     */
    private boolean lastLoginTimeSetted = false;

    /**
    * Attribute lastLoginTime is Null Falg
    */
    private boolean lastLoginTimeNull = false;
    private String userMail;

    /**
     * Attribute userMail Be Seted Falg
     */
    private boolean userMailSetted = false;

    /**
    * Attribute userMail is Null Falg
    */
    private boolean userMailNull = false;
    private String userCode;

    /**
     * Attribute userCode Be Seted Falg
     */
    private boolean userCodeSetted = false;

    /**
    * Attribute userCode is Null Falg
    */
    private boolean userCodeNull = false;
    private String userPhoto;

    /**
     * Attribute userPhoto Be Seted Falg
     */
    private boolean userPhotoSetted = false;

    /**
    * Attribute userPhoto is Null Falg
    */
    private boolean userPhotoNull = false;
    private String userMobilePhone;

    /**
     * Attribute userMobilePhone Be Seted Falg
     */
    private boolean userMobilePhoneSetted = false;

    /**
    * Attribute userMobilePhone is Null Falg
    */
    private boolean userMobilePhoneNull = false;
    private String userOfficePhone;

    /**
     * Attribute userOfficePhone Be Seted Falg
     */
    private boolean userOfficePhoneSetted = false;

    /**
    * Attribute userOfficePhone is Null Falg
    */
    private boolean userOfficePhoneNull = false;
    private String userDepartment;

    /**
     * Attribute userDepartment Be Seted Falg
     */
    private boolean userDepartmentSetted = false;

    /**
    * Attribute userDepartment is Null Falg
    */
    private boolean userDepartmentNull = false;
    private String userRole;

    /**
     * Attribute userRole Be Seted Falg
     */
    private boolean userRoleSetted = false;

    /**
    * Attribute userRole is Null Falg
    */
    private boolean userRoleNull = false;
    private String userDepartmentRole;

    /**
     * Attribute userDepartmentRole Be Seted Falg
     */
    private boolean userDepartmentRoleSetted = false;

    /**
    * Attribute userDepartmentRole is Null Falg
    */
    private boolean userDepartmentRoleNull = false;
    private java.util.Date modifyTime;

    /**
     * Attribute modifyTime Be Seted Falg
     */
    private boolean modifyTimeSetted = false;

    /**
    * Attribute modifyTime is Null Falg
    */
    private boolean modifyTimeNull = false;
    private long operatorId;

    /**
     * Attribute operatorId Be Seted Falg
     */
    private boolean operatorIdSetted = false;

    /**
    * Attribute operatorId is Null Falg
    */
    private boolean operatorIdNull = false;
    private String userStatus;

    /**
     * Attribute userStatus Be Seted Falg
     */
    private boolean userStatusSetted = false;

    /**
    * Attribute userStatus is Null Falg
    */
    private boolean userStatusNull = false;
    private java.util.Date createTime;

    /**
     * Attribute createTime Be Seted Falg
     */
    private boolean createTimeSetted = false;

    /**
    * Attribute createTime is Null Falg
    */
    private boolean createTimeNull = false;
    private String seatCode;

    /**
     * Attribute seatCode Be Seted Falg
     */
    private boolean seatCodeSetted = false;

    /**
    * Attribute seatCode is Null Falg
    */
    private boolean seatCodeNull = false;
    private String seatPassword;

    /**
     * Attribute seatPassword Be Seted Falg
     */
    private boolean seatPasswordSetted = false;

    /**
    * Attribute seatPassword is Null Falg
    */
    private boolean seatPasswordNull = false;
    private String wechatOpenId;

    /**
     * Attribute wechatOpenId Be Seted Falg
     */
    private boolean wechatOpenIdSetted = false;

    /**
    * Attribute wechatOpenId is Null Falg
    */
    private boolean wechatOpenIdNull = false;
    private String operatorName;

    /**
     * Attribute operatorName Be Seted Falg
     */
    private boolean operatorNameSetted = false;

    /**
    * Attribute operatorName is Null Falg
    */
    private boolean operatorNameNull = false;

    public SysUser() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get remarks
         *
         * @return String
         */
    final public String getRemarks() {
        if (isRemarksNull()) {
            return null;
        } else {
            return StringUtils.trim(remarks);
        }
    }

    /**
     * Set remarks
     *
     * @param String
     */
    final public void setRemarks(String remarks) {
        this.remarks = StringUtils.trim(remarks);

        this.remarksSetted = true;

        this.setRemarksNull(this.remarks == null);
    }

    /**
     * Get remarks Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRemarksSetted() {
        return this.remarksSetted;
    }

    /**
     * Set remarks Null
     *
     */
    final public void setRemarksNull() {
        this.remarksNull = true;
    }

    final public void setRemarksNull(boolean aNullFlag) {
        this.remarksNull = aNullFlag;
    }

    final public boolean isRemarksNull() {
        return this.remarksNull;
    }

    /**
         * Get status
         *
         * @return String
         */
    final public String getStatus() {
        if (isStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(status);
        }
    }

    /**
     * Set status
     *
     * @param String
     */
    final public void setStatus(String status) {
        this.status = StringUtils.trim(status);

        this.statusSetted = true;

        this.setStatusNull(this.status == null);
    }

    /**
     * Get status Has Been Setted
     *
     * @return boolean
     */
    final public boolean isStatusSetted() {
        return this.statusSetted;
    }

    /**
     * Set status Null
     *
     */
    final public void setStatusNull() {
        this.statusNull = true;
    }

    final public void setStatusNull(boolean aNullFlag) {
        this.statusNull = aNullFlag;
    }

    final public boolean isStatusNull() {
        return this.statusNull;
    }

    /**
         * Get userAccount
         *
         * @return String
         */
    final public String getUserAccount() {
        if (isUserAccountNull()) {
            return null;
        } else {
            return StringUtils.trim(userAccount);
        }
    }

    /**
     * Set userAccount
     *
     * @param String
     */
    final public void setUserAccount(String userAccount) {
        this.userAccount = StringUtils.trim(userAccount);

        this.userAccountSetted = true;

        this.setUserAccountNull(this.userAccount == null);
    }

    /**
     * Get userAccount Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserAccountSetted() {
        return this.userAccountSetted;
    }

    /**
     * Set userAccount Null
     *
     */
    final public void setUserAccountNull() {
        this.userAccountNull = true;
    }

    final public void setUserAccountNull(boolean aNullFlag) {
        this.userAccountNull = aNullFlag;
    }

    final public boolean isUserAccountNull() {
        return this.userAccountNull;
    }

    /**
         * Get userName
         *
         * @return String
         */
    final public String getUserName() {
        if (isUserNameNull()) {
            return null;
        } else {
            return StringUtils.trim(userName);
        }
    }

    /**
     * Set userName
     *
     * @param String
     */
    final public void setUserName(String userName) {
        this.userName = StringUtils.trim(userName);

        this.userNameSetted = true;

        this.setUserNameNull(this.userName == null);
    }

    /**
     * Get userName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserNameSetted() {
        return this.userNameSetted;
    }

    /**
     * Set userName Null
     *
     */
    final public void setUserNameNull() {
        this.userNameNull = true;
    }

    final public void setUserNameNull(boolean aNullFlag) {
        this.userNameNull = aNullFlag;
    }

    final public boolean isUserNameNull() {
        return this.userNameNull;
    }

    /**
         * Get userType
         *
         * @return String
         */
    final public String getUserType() {
        if (isUserTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(userType);
        }
    }

    /**
     * Set userType
     *
     * @param String
     */
    final public void setUserType(String userType) {
        this.userType = StringUtils.trim(userType);

        this.userTypeSetted = true;

        this.setUserTypeNull(this.userType == null);
    }

    /**
     * Get userType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserTypeSetted() {
        return this.userTypeSetted;
    }

    /**
     * Set userType Null
     *
     */
    final public void setUserTypeNull() {
        this.userTypeNull = true;
    }

    final public void setUserTypeNull(boolean aNullFlag) {
        this.userTypeNull = aNullFlag;
    }

    final public boolean isUserTypeNull() {
        return this.userTypeNull;
    }

    /**
         * Get password
         *
         * @return String
         */
    final public String getPassword() {
        if (isPasswordNull()) {
            return null;
        } else {
            return StringUtils.trim(password);
        }
    }

    /**
     * Set password
     *
     * @param String
     */
    final public void setPassword(String password) {
        this.password = StringUtils.trim(password);

        this.passwordSetted = true;

        this.setPasswordNull(this.password == null);
    }

    /**
     * Get password Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPasswordSetted() {
        return this.passwordSetted;
    }

    /**
     * Set password Null
     *
     */
    final public void setPasswordNull() {
        this.passwordNull = true;
    }

    final public void setPasswordNull(boolean aNullFlag) {
        this.passwordNull = aNullFlag;
    }

    final public boolean isPasswordNull() {
        return this.passwordNull;
    }

    /**
         * Get lastLoginTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * Set lastLoginTime
     *
     * @param java.util.Date
     */
    final public void setLastLoginTime(java.util.Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;

        this.lastLoginTimeSetted = true;

        this.setLastLoginTimeNull(this.lastLoginTime == null);
    }

    /**
     * Get lastLoginTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastLoginTimeSetted() {
        return this.lastLoginTimeSetted;
    }

    /**
     * Set lastLoginTime Null
     *
     */
    final public void setLastLoginTimeNull() {
        this.lastLoginTimeNull = true;
    }

    final public void setLastLoginTimeNull(boolean aNullFlag) {
        this.lastLoginTimeNull = aNullFlag;
    }

    final public boolean isLastLoginTimeNull() {
        return this.lastLoginTimeNull;
    }

    /**
         * Get userMail
         *
         * @return String
         */
    final public String getUserMail() {
        if (isUserMailNull()) {
            return null;
        } else {
            return StringUtils.trim(userMail);
        }
    }

    /**
     * Set userMail
     *
     * @param String
     */
    final public void setUserMail(String userMail) {
        this.userMail = StringUtils.trim(userMail);

        this.userMailSetted = true;

        this.setUserMailNull(this.userMail == null);
    }

    /**
     * Get userMail Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserMailSetted() {
        return this.userMailSetted;
    }

    /**
     * Set userMail Null
     *
     */
    final public void setUserMailNull() {
        this.userMailNull = true;
    }

    final public void setUserMailNull(boolean aNullFlag) {
        this.userMailNull = aNullFlag;
    }

    final public boolean isUserMailNull() {
        return this.userMailNull;
    }

    /**
         * Get userCode
         *
         * @return String
         */
    final public String getUserCode() {
        if (isUserCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(userCode);
        }
    }

    /**
     * Set userCode
     *
     * @param String
     */
    final public void setUserCode(String userCode) {
        this.userCode = StringUtils.trim(userCode);

        this.userCodeSetted = true;

        this.setUserCodeNull(this.userCode == null);
    }

    /**
     * Get userCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserCodeSetted() {
        return this.userCodeSetted;
    }

    /**
     * Set userCode Null
     *
     */
    final public void setUserCodeNull() {
        this.userCodeNull = true;
    }

    final public void setUserCodeNull(boolean aNullFlag) {
        this.userCodeNull = aNullFlag;
    }

    final public boolean isUserCodeNull() {
        return this.userCodeNull;
    }

    /**
         * Get userPhoto
         *
         * @return String
         */
    final public String getUserPhoto() {
        if (isUserPhotoNull()) {
            return null;
        } else {
            return StringUtils.trim(userPhoto);
        }
    }

    /**
     * Set userPhoto
     *
     * @param String
     */
    final public void setUserPhoto(String userPhoto) {
        this.userPhoto = StringUtils.trim(userPhoto);

        this.userPhotoSetted = true;

        this.setUserPhotoNull(this.userPhoto == null);
    }

    /**
     * Get userPhoto Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserPhotoSetted() {
        return this.userPhotoSetted;
    }

    /**
     * Set userPhoto Null
     *
     */
    final public void setUserPhotoNull() {
        this.userPhotoNull = true;
    }

    final public void setUserPhotoNull(boolean aNullFlag) {
        this.userPhotoNull = aNullFlag;
    }

    final public boolean isUserPhotoNull() {
        return this.userPhotoNull;
    }

    /**
         * Get userMobilePhone
         *
         * @return String
         */
    final public String getUserMobilePhone() {
        if (isUserMobilePhoneNull()) {
            return null;
        } else {
            return StringUtils.trim(userMobilePhone);
        }
    }

    /**
     * Set userMobilePhone
     *
     * @param String
     */
    final public void setUserMobilePhone(String userMobilePhone) {
        this.userMobilePhone = StringUtils.trim(userMobilePhone);

        this.userMobilePhoneSetted = true;

        this.setUserMobilePhoneNull(this.userMobilePhone == null);
    }

    /**
     * Get userMobilePhone Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserMobilePhoneSetted() {
        return this.userMobilePhoneSetted;
    }

    /**
     * Set userMobilePhone Null
     *
     */
    final public void setUserMobilePhoneNull() {
        this.userMobilePhoneNull = true;
    }

    final public void setUserMobilePhoneNull(boolean aNullFlag) {
        this.userMobilePhoneNull = aNullFlag;
    }

    final public boolean isUserMobilePhoneNull() {
        return this.userMobilePhoneNull;
    }

    /**
         * Get userOfficePhone
         *
         * @return String
         */
    final public String getUserOfficePhone() {
        if (isUserOfficePhoneNull()) {
            return null;
        } else {
            return StringUtils.trim(userOfficePhone);
        }
    }

    /**
     * Set userOfficePhone
     *
     * @param String
     */
    final public void setUserOfficePhone(String userOfficePhone) {
        this.userOfficePhone = StringUtils.trim(userOfficePhone);

        this.userOfficePhoneSetted = true;

        this.setUserOfficePhoneNull(this.userOfficePhone == null);
    }

    /**
     * Get userOfficePhone Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserOfficePhoneSetted() {
        return this.userOfficePhoneSetted;
    }

    /**
     * Set userOfficePhone Null
     *
     */
    final public void setUserOfficePhoneNull() {
        this.userOfficePhoneNull = true;
    }

    final public void setUserOfficePhoneNull(boolean aNullFlag) {
        this.userOfficePhoneNull = aNullFlag;
    }

    final public boolean isUserOfficePhoneNull() {
        return this.userOfficePhoneNull;
    }

    /**
         * Get userDepartment
         *
         * @return String
         */
    final public String getUserDepartment() {
        if (isUserDepartmentNull()) {
            return null;
        } else {
            return StringUtils.trim(userDepartment);
        }
    }

    /**
     * Set userDepartment
     *
     * @param String
     */
    final public void setUserDepartment(String userDepartment) {
        this.userDepartment = StringUtils.trim(userDepartment);

        this.userDepartmentSetted = true;

        this.setUserDepartmentNull(this.userDepartment == null);
    }

    /**
     * Get userDepartment Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserDepartmentSetted() {
        return this.userDepartmentSetted;
    }

    /**
     * Set userDepartment Null
     *
     */
    final public void setUserDepartmentNull() {
        this.userDepartmentNull = true;
    }

    final public void setUserDepartmentNull(boolean aNullFlag) {
        this.userDepartmentNull = aNullFlag;
    }

    final public boolean isUserDepartmentNull() {
        return this.userDepartmentNull;
    }

    /**
         * Get userRole
         *
         * @return String
         */
    final public String getUserRole() {
        if (isUserRoleNull()) {
            return null;
        } else {
            return StringUtils.trim(userRole);
        }
    }

    /**
     * Set userRole
     *
     * @param String
     */
    final public void setUserRole(String userRole) {
        this.userRole = StringUtils.trim(userRole);

        this.userRoleSetted = true;

        this.setUserRoleNull(this.userRole == null);
    }

    /**
     * Get userRole Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserRoleSetted() {
        return this.userRoleSetted;
    }

    /**
     * Set userRole Null
     *
     */
    final public void setUserRoleNull() {
        this.userRoleNull = true;
    }

    final public void setUserRoleNull(boolean aNullFlag) {
        this.userRoleNull = aNullFlag;
    }

    final public boolean isUserRoleNull() {
        return this.userRoleNull;
    }

    /**
         * Get userDepartmentRole
         *
         * @return String
         */
    final public String getUserDepartmentRole() {
        if (isUserDepartmentRoleNull()) {
            return null;
        } else {
            return StringUtils.trim(userDepartmentRole);
        }
    }

    /**
     * Set userDepartmentRole
     *
     * @param String
     */
    final public void setUserDepartmentRole(String userDepartmentRole) {
        this.userDepartmentRole = StringUtils.trim(userDepartmentRole);

        this.userDepartmentRoleSetted = true;

        this.setUserDepartmentRoleNull(this.userDepartmentRole == null);
    }

    /**
     * Get userDepartmentRole Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserDepartmentRoleSetted() {
        return this.userDepartmentRoleSetted;
    }

    /**
     * Set userDepartmentRole Null
     *
     */
    final public void setUserDepartmentRoleNull() {
        this.userDepartmentRoleNull = true;
    }

    final public void setUserDepartmentRoleNull(boolean aNullFlag) {
        this.userDepartmentRoleNull = aNullFlag;
    }

    final public boolean isUserDepartmentRoleNull() {
        return this.userDepartmentRoleNull;
    }

    /**
         * Get modifyTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getModifyTime() {
        return modifyTime;
    }

    /**
     * Set modifyTime
     *
     * @param java.util.Date
     */
    final public void setModifyTime(java.util.Date modifyTime) {
        this.modifyTime = modifyTime;

        this.modifyTimeSetted = true;

        this.setModifyTimeNull(this.modifyTime == null);
    }

    /**
     * Get modifyTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isModifyTimeSetted() {
        return this.modifyTimeSetted;
    }

    /**
     * Set modifyTime Null
     *
     */
    final public void setModifyTimeNull() {
        this.modifyTimeNull = true;
    }

    final public void setModifyTimeNull(boolean aNullFlag) {
        this.modifyTimeNull = aNullFlag;
    }

    final public boolean isModifyTimeNull() {
        return this.modifyTimeNull;
    }

    /**
         * Get operatorId
         *
         * @return long
         */
    final public long getOperatorId() {
        return operatorId;
    }

    /**
     * Set operatorId
     *
     * @param long
     */
    final public void setOperatorId(long operatorId) {
        this.operatorId = operatorId;

        this.operatorIdSetted = true;

        this.setOperatorIdNull(false);
    }

    /**
     * Get operatorId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isOperatorIdSetted() {
        return this.operatorIdSetted;
    }

    /**
     * Set operatorId Null
     *
     */
    final public void setOperatorIdNull() {
        this.operatorIdNull = true;
    }

    final public void setOperatorIdNull(boolean aNullFlag) {
        this.operatorIdNull = aNullFlag;
    }

    final public boolean isOperatorIdNull() {
        return this.operatorIdNull;
    }

    /**
         * Get userStatus
         *
         * @return String
         */
    final public String getUserStatus() {
        if (isUserStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(userStatus);
        }
    }

    /**
     * Set userStatus
     *
     * @param String
     */
    final public void setUserStatus(String userStatus) {
        this.userStatus = StringUtils.trim(userStatus);

        this.userStatusSetted = true;

        this.setUserStatusNull(this.userStatus == null);
    }

    /**
     * Get userStatus Has Been Setted
     *
     * @return boolean
     */
    final public boolean isUserStatusSetted() {
        return this.userStatusSetted;
    }

    /**
     * Set userStatus Null
     *
     */
    final public void setUserStatusNull() {
        this.userStatusNull = true;
    }

    final public void setUserStatusNull(boolean aNullFlag) {
        this.userStatusNull = aNullFlag;
    }

    final public boolean isUserStatusNull() {
        return this.userStatusNull;
    }

    /**
         * Get createTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getCreateTime() {
        return createTime;
    }

    /**
     * Set createTime
     *
     * @param java.util.Date
     */
    final public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;

        this.createTimeSetted = true;

        this.setCreateTimeNull(this.createTime == null);
    }

    /**
     * Get createTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreateTimeSetted() {
        return this.createTimeSetted;
    }

    /**
     * Set createTime Null
     *
     */
    final public void setCreateTimeNull() {
        this.createTimeNull = true;
    }

    final public void setCreateTimeNull(boolean aNullFlag) {
        this.createTimeNull = aNullFlag;
    }

    final public boolean isCreateTimeNull() {
        return this.createTimeNull;
    }

    /**
         * Get seatCode
         *
         * @return String
         */
    final public String getSeatCode() {
        if (isSeatCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(seatCode);
        }
    }

    /**
     * Set seatCode
     *
     * @param String
     */
    final public void setSeatCode(String seatCode) {
        this.seatCode = StringUtils.trim(seatCode);

        this.seatCodeSetted = true;

        this.setSeatCodeNull(this.seatCode == null);
    }

    /**
     * Get seatCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSeatCodeSetted() {
        return this.seatCodeSetted;
    }

    /**
     * Set seatCode Null
     *
     */
    final public void setSeatCodeNull() {
        this.seatCodeNull = true;
    }

    final public void setSeatCodeNull(boolean aNullFlag) {
        this.seatCodeNull = aNullFlag;
    }

    final public boolean isSeatCodeNull() {
        return this.seatCodeNull;
    }

    /**
         * Get seatPassword
         *
         * @return String
         */
    final public String getSeatPassword() {
        if (isSeatPasswordNull()) {
            return null;
        } else {
            return StringUtils.trim(seatPassword);
        }
    }

    /**
     * Set seatPassword
     *
     * @param String
     */
    final public void setSeatPassword(String seatPassword) {
        this.seatPassword = StringUtils.trim(seatPassword);

        this.seatPasswordSetted = true;

        this.setSeatPasswordNull(this.seatPassword == null);
    }

    /**
     * Get seatPassword Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSeatPasswordSetted() {
        return this.seatPasswordSetted;
    }

    /**
     * Set seatPassword Null
     *
     */
    final public void setSeatPasswordNull() {
        this.seatPasswordNull = true;
    }

    final public void setSeatPasswordNull(boolean aNullFlag) {
        this.seatPasswordNull = aNullFlag;
    }

    final public boolean isSeatPasswordNull() {
        return this.seatPasswordNull;
    }

    /**
         * Get wechatOpenId
         *
         * @return String
         */
    final public String getWechatOpenId() {
        if (isWechatOpenIdNull()) {
            return null;
        } else {
            return StringUtils.trim(wechatOpenId);
        }
    }

    /**
     * Set wechatOpenId
     *
     * @param String
     */
    final public void setWechatOpenId(String wechatOpenId) {
        this.wechatOpenId = StringUtils.trim(wechatOpenId);

        this.wechatOpenIdSetted = true;

        this.setWechatOpenIdNull(this.wechatOpenId == null);
    }

    /**
     * Get wechatOpenId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isWechatOpenIdSetted() {
        return this.wechatOpenIdSetted;
    }

    /**
     * Set wechatOpenId Null
     *
     */
    final public void setWechatOpenIdNull() {
        this.wechatOpenIdNull = true;
    }

    final public void setWechatOpenIdNull(boolean aNullFlag) {
        this.wechatOpenIdNull = aNullFlag;
    }

    final public boolean isWechatOpenIdNull() {
        return this.wechatOpenIdNull;
    }

    /**
         * Get operatorName
         *
         * @return String
         */
    final public String getOperatorName() {
        if (isOperatorNameNull()) {
            return null;
        } else {
            return StringUtils.trim(operatorName);
        }
    }

    /**
     * Set operatorName
     *
     * @param String
     */
    final public void setOperatorName(String operatorName) {
        this.operatorName = StringUtils.trim(operatorName);

        this.operatorNameSetted = true;

        this.setOperatorNameNull(this.operatorName == null);
    }

    /**
     * Get operatorName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isOperatorNameSetted() {
        return this.operatorNameSetted;
    }

    /**
     * Set operatorName Null
     *
     */
    final public void setOperatorNameNull() {
        this.operatorNameNull = true;
    }

    final public void setOperatorNameNull(boolean aNullFlag) {
        this.operatorNameNull = aNullFlag;
    }

    final public boolean isOperatorNameNull() {
        return this.operatorNameNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof SysUser) == false) {
            return false;
        }

        SysUser other = (SysUser) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("seatCode=");
        buffer.append(this.seatCode);

        buffer.append("seatPassword=");
        buffer.append(this.seatPassword);

        buffer.append("lastLoginTime=");
        buffer.append(this.lastLoginTime);

        buffer.append("userOfficePhone=");
        buffer.append(this.userOfficePhone);

        buffer.append("userStatus=");
        buffer.append(this.userStatus);

        buffer.append("userDepartment=");
        buffer.append(this.userDepartment);

        buffer.append("createTime=");
        buffer.append(this.createTime);

        buffer.append("userRole=");
        buffer.append(this.userRole);

        buffer.append("userMail=");
        buffer.append(this.userMail);

        buffer.append("userDepartmentRole=");
        buffer.append(this.userDepartmentRole);

        buffer.append("userMobilePhone=");
        buffer.append(this.userMobilePhone);

        buffer.append("modifyTime=");
        buffer.append(this.modifyTime);

        buffer.append("operatorId=");
        buffer.append(this.operatorId);

        buffer.append("operatorName=");
        buffer.append(this.operatorName);

        buffer.append("userCode=");
        buffer.append(this.userCode);

        buffer.append("userPhoto=");
        buffer.append(this.userPhoto);

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("remarks=");
        buffer.append(this.remarks);

        buffer.append("status=");
        buffer.append(this.status);

        buffer.append("userAccount=");
        buffer.append(this.userAccount);

        buffer.append("userName=");
        buffer.append(this.userName);

        buffer.append("userType=");
        buffer.append(this.userType);

        buffer.append("password=");
        buffer.append(this.password);

        buffer.append("wechatOpenId=");
        buffer.append(this.wechatOpenId);

        buffer.append("]");

        return buffer.toString();
    }
}
